Integrand size = 30, antiderivative size = 51 \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=-\frac {3 \cos (e+f x) \log (1-\sin (e+f x))}{f \sqrt {3+3 \sin (e+f x)} \sqrt {c-c \sin (e+f x)}} \]
[Out]
Time = 0.08 (sec) , antiderivative size = 52, normalized size of antiderivative = 1.02, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {2816, 2746, 31} \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=-\frac {a \cos (e+f x) \log (1-\sin (e+f x))}{f \sqrt {a \sin (e+f x)+a} \sqrt {c-c \sin (e+f x)}} \]
[In]
[Out]
Rule 31
Rule 2746
Rule 2816
Rubi steps \begin{align*} \text {integral}& = \frac {(a c \cos (e+f x)) \int \frac {\cos (e+f x)}{c-c \sin (e+f x)} \, dx}{\sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}} \\ & = -\frac {(a \cos (e+f x)) \text {Subst}\left (\int \frac {1}{c+x} \, dx,x,-c \sin (e+f x)\right )}{f \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}} \\ & = -\frac {a \cos (e+f x) \log (1-\sin (e+f x))}{f \sqrt {a+a \sin (e+f x)} \sqrt {c-c \sin (e+f x)}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 1.03 (sec) , antiderivative size = 117, normalized size of antiderivative = 2.29 \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=-\frac {\sqrt {6} \left (-i+e^{i (e+f x)}\right ) \left (f x+2 i \log \left (i-e^{i (e+f x)}\right )\right ) \sqrt {1+\sin (e+f x)}}{\sqrt {i c e^{-i (e+f x)} \left (-i+e^{i (e+f x)}\right )^2} \left (i+e^{i (e+f x)}\right ) f} \]
[In]
[Out]
Time = 2.20 (sec) , antiderivative size = 96, normalized size of antiderivative = 1.88
method | result | size |
default | \(-\frac {\sqrt {a \left (\sin \left (f x +e \right )+1\right )}\, \left (\ln \left (\frac {2}{\cos \left (f x +e \right )+1}\right )-2 \ln \left (-\cot \left (f x +e \right )+\csc \left (f x +e \right )-1\right )\right ) \left (-\cos \left (f x +e \right )+\sin \left (f x +e \right )-1\right )}{f \left (1+\cos \left (f x +e \right )+\sin \left (f x +e \right )\right ) \sqrt {-c \left (\sin \left (f x +e \right )-1\right )}}\) | \(96\) |
[In]
[Out]
\[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=\int { \frac {\sqrt {a \sin \left (f x + e\right ) + a}}{\sqrt {-c \sin \left (f x + e\right ) + c}} \,d x } \]
[In]
[Out]
\[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=\int \frac {\sqrt {a \left (\sin {\left (e + f x \right )} + 1\right )}}{\sqrt {- c \left (\sin {\left (e + f x \right )} - 1\right )}}\, dx \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.24 \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=\frac {\frac {2 \, \sqrt {a} \log \left (\frac {\sin \left (f x + e\right )}{\cos \left (f x + e\right ) + 1} - 1\right )}{\sqrt {c}} - \frac {\sqrt {a} \log \left (\frac {\sin \left (f x + e\right )^{2}}{{\left (\cos \left (f x + e\right ) + 1\right )}^{2}} + 1\right )}{\sqrt {c}}}{f} \]
[In]
[Out]
none
Time = 0.44 (sec) , antiderivative size = 53, normalized size of antiderivative = 1.04 \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=\frac {2 \, \sqrt {a} \log \left ({\left | \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right ) \right |}\right ) \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )}{\sqrt {c} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {3+3 \sin (e+f x)}}{\sqrt {c-c \sin (e+f x)}} \, dx=\int \frac {\sqrt {a+a\,\sin \left (e+f\,x\right )}}{\sqrt {c-c\,\sin \left (e+f\,x\right )}} \,d x \]
[In]
[Out]